package com.ccom.test.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ccom.api.domain.Article;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description:
 * @Author: zjj
 * @Date: 2021/12/19
 */
@Mapper
public interface ArticleMapper extends BaseMapper<Article> {
    List<Article> findAll();

    Article findById(@Param("id") String id);
}
